package ooday03;

public class SwimTest {
    public static void main(String[] args) {
        Dog dog=new Dog("旺旺",5,"白");
        Chick chick=new Chick("唧唧",3,"黑");
        Fish fish=new Fish("鱼鱼",2,"红");
        dog.eat();
        dog.lookhome();
        dog.swim();
        dog.drink();
        chick.eat();
        chick.layEggs();
        chick.drink();
        fish.drink();
        fish.swim();
        fish.eat();
    }
}
